<template>
  <div>
    <p>请选择你喜欢的专栏</p>
    <span v-for="item in list " :key="item"><input type="checkbox" :value="item" v-model="newList"> {{item}} </span>
    <ul>
      <li v-for="item in newList" :key="item"> {{item}} </li>
    </ul>
  </div>
</template>

<script>
export default {
  data () {
    return {
      list: ['科幻', '喜剧', '动漫', '冒险', '科技', '军事', '娱乐', '奇闻'],
      newList: []
    }
  },

  created () {

  },

  methods: {

  }
}
</script>

<style scoped lang='less'>

</style>
